package com.j283_5.wisdom_park.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public class MaintenanceRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运维记录id
     */
    @TableId(value = "mrec_id", type = IdType.AUTO)
    private Integer mrecId;

    /**
     * 巡检内容
     */
    private String mrecContent;

    /**
     * 0:故障检修,1:日常巡检
     */
    private Integer mrecMaintenancetype;

    /**
     * 0:未完成,1:巡检中,2:已完成
     */
    private Integer mrecMaintenancestate;

    /**
     * 巡检时间
     */
    private LocalDate mrecDate;

    /**
     * 跟进人
     */
    private Integer adminId;

    /**
     * 设备详情id
     */
    private Integer ddetId;


    public Integer getMrecId() {
        return mrecId;
    }

    public void setMrecId(Integer mrecId) {
        this.mrecId = mrecId;
    }

    public String getMrecContent() {
        return mrecContent;
    }

    public void setMrecContent(String mrecContent) {
        this.mrecContent = mrecContent;
    }

    public Integer getMrecMaintenancetype() {
        return mrecMaintenancetype;
    }

    public void setMrecMaintenancetype(Integer mrecMaintenancetype) {
        this.mrecMaintenancetype = mrecMaintenancetype;
    }

    public Integer getMrecMaintenancestate() {
        return mrecMaintenancestate;
    }

    public void setMrecMaintenancestate(Integer mrecMaintenancestate) {
        this.mrecMaintenancestate = mrecMaintenancestate;
    }

    public LocalDate getMrecDate() {
        return mrecDate;
    }

    public void setMrecDate(LocalDate mrecDate) {
        this.mrecDate = mrecDate;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Integer getDdetId() {
        return ddetId;
    }

    public void setDdetId(Integer ddetId) {
        this.ddetId = ddetId;
    }

    @Override
    public String toString() {
        return "MaintenanceRecord{" +
        "mrecId=" + mrecId +
        ", mrecContent=" + mrecContent +
        ", mrecMaintenancetype=" + mrecMaintenancetype +
        ", mrecMaintenancestate=" + mrecMaintenancestate +
        ", mrecDate=" + mrecDate +
        ", adminId=" + adminId +
        ", ddetId=" + ddetId +
        "}";
    }
}
